package com.hpeng.sys.dao.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.orm.hibernate3.HibernateTemplate;
import org.springframework.stereotype.Component;

import com.hpeng.sys.dao.SysFuncDao;
import com.hpeng.sys.model.SysFunc;

@Component("sysFuncDao")
public class SysFuncDaoImpl implements SysFuncDao {

	public List<SysFunc> getSysFunc() {
		return (List<SysFunc>) hibernateTemplate.find("from SysFunc");
	}

	@Resource
	private HibernateTemplate hibernateTemplate;
}